#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
using ll=long long;
ll sum=0;

int main()
{
	ll x;
	cin>>x;
	vector<int> num;
	
	while(x)
	{
		num.push_back(x%10);
		sum+=x%10;
		x/=10;
	}
	if(sum%2)
	{
		cout<<"No"<<endl;
	}
	else{
		int v=sum/2;
		vector<int> dp(v+1,-0x3f);
		dp[0]=0;
		for(int i=0;i<num.size();i++)
		{
			for(int j=v;j>=num[i];j--)
			{
				dp[j]=max(dp[j],dp[j-num[i]]+num[i]);
			}
		}
		if(dp[v]==v)
		{
			cout<<"Yes"<<endl;
		}
		else{
			cout<<"No"<<endl;
		}
		
	}
	
	return 0;
}
